<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>tile</title>
    <script type="text/javascript" src="js/vue.min.js"></script>
</head>
<body>
    <div id="app">
        {{msg}}
    </div>
    <ul id="ul1">
        <li v-for="lis in datas">
            {{lis.n1}}
        </li>
    </ul>
    <script type="text/javascript">
        var data={
            msg:"hello"
        };
        var vn=new Vue({
            el:"#app",
            data:data
        });
        var lis=new Vue({
            el:"#ul1",
            data:{
                datas:[
                    {n1:"你好1"},
                    {n1:"你好2"}
                ]
            }
        })
    </script>
</body>
</html>